import { postRequest } from '/@/lib/axios';

export const api = {
  page (param: any) {
    return postRequest('/eapi//theme/page?Content-Type=application/json', param);
  },
  add (param: any) {
    return postRequest('/eapi//theme/add?Content-Type=application/json', param);
  },
  update (param: any) {
    return postRequest('/eapi//theme/update?Content-Type=application/json', param);
  },
  delete (param: any) {
    return postRequest('/eapi//theme/delete?Content-Type=application/json' , param);
  },
};